/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.mine.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.mine.entity.Point;
import com.thinkgem.jeesite.modules.mine.dao.PointDao;

/**
 * 采集点信息Service
 * @author developer
 * @version 2018-11-05
 */
@Service
@Transactional(readOnly = true)
public class PointService extends CrudService<PointDao, Point> {

	public Point get(String id) {
		return super.get(id);
	}
	
	public List<Point> findList(Point point) {
		return super.findList(point);
	}
	
	public Page<Point> findPage(Page<Point> page, Point point) {
		return super.findPage(page, point);
	}
	
	@Transactional(readOnly = false)
	public void save(Point point) {
		super.save(point);
	}
	
	@Transactional(readOnly = false)
	public void delete(Point point) {
		super.delete(point);
	}
	public List<Point> findListByHoleId(String holeId){
		return dao.findListByHoleId(holeId);
	}
}